package com.jsbb.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 登录DTO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class LoginDto {

    @NotEmpty
    @ApiModelProperty(value = "登录名", required = true)
    private String loginName;

    @NotEmpty
    @ApiModelProperty(value = "密码", required = true)
    private String pwd;

    @ApiModelProperty(value = "验证码")
    private String captcha;
}
